﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CaseProfileStudy.ascx.cs" Inherits="PayrollHR.Administration.Modules.CaseProfileStudy" %>
<%@ Register Src="DatePicker.ascx" TagName="DatePicker" TagPrefix="uc3" %>
<%@ Register Src="DecimalTextBox.ascx" TagName="DecimalTextBox" TagPrefix="uc2" %>
<%@ Register Src="ToolTipLabelControl.ascx" TagName="ToolTipLabelControl" TagPrefix="uc1" %>

<table>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblProBaccalaureate" Text="<% $PayrollResources:Admin.CaseProfileStudy.ProBaccalaureate.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.ProBaccalaureate.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="2">
            <asp:TextBox ID="txtProBaccalaureate" runat="server" Width="100%"></asp:TextBox>
        </td>
        <td colspan="3">&nbsp;</td>
    </tr>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblGraduation" Text="<% $PayrollResources:Admin.CaseProfileStudy.Graduation.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.Graduation.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="2">&nbsp;</td>
        <td colspan="3">&nbsp;</td>
    </tr>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblProGraduateIndustry" Text="<% $PayrollResources:Admin.CaseProfileStudy.ProGraduateIndustry.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.ProGraduateIndustry.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="2">
            <asp:TextBox ID="txtProGraduateIndustry" runat="server" Width="100%"></asp:TextBox>
        </td>
        <td colspan="3">&nbsp;&nbsp;
            <uc1:ToolTipLabelControl runat="server" ID="lblProGraduateYear" Text="<% $PayrollResources:Admin.CaseProfileStudy.ProGraduateYear.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.ProGraduateYear.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
            &nbsp;
            <asp:TextBox ID="txtProGraduateYear" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblProWorking" Text="<% $PayrollResources:Admin.CaseProfileStudy.ProWorking.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.ProWorking.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="5">
            <asp:TextBox ID="txtProWorking" runat="server" Height="60px" TextMode="MultiLine" Width="99%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblProLearning" Text="<% $PayrollResources:Admin.CaseProfileStudy.ProLearning.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.ProLearning.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="5">
            <asp:TextBox ID="txtProLearning" runat="server" Height="60px" TextMode="MultiLine" Width="99%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td colspan="6">

            <asp:GridView ID="gvObject" runat="server" AutoGenerateColumns="False" Width="100%"
                OnPageIndexChanging="gvObject_PageIndexChanging" AllowPaging="true"
                PageSize="12" OnRowDeleting="gvObject_RowDeleting" OnRowDataBound="gvObject_RowDataBound">
                <Columns>
                    <asp:TemplateField HeaderText="Giấy tờ cần thiết" ItemStyle-Width="20%">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("ObjectName").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Bản Gốc"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:CheckBox ID="cbOriginalCopy0" runat="server" Checked='<%# Eval("OriginalCopy") %>' />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Sao y"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:CheckBox ID="cbNotOriginalCopy" runat="server" Checked='<%# Eval("duplicate") %>' />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ngày Yêu Cầu"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("OnRequest").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ngày Nộp"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("DateSubmitted").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ghi Chú"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <%#Server.HtmlEncode(Eval("Note").ToString())%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Delete" HeaderStyle-HorizontalAlign="Center"
                        ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:HiddenField ID="hfProfileID" runat="server" Value='<%# Eval("ProfileID") %>' />
                            <asp:LinkButton ID="lbDelete" runat="server" CommandName="Delete" Text="Delete" />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
                    </asp:TemplateField>
                </Columns>
                <PagerSettings PageButtonCount="50" Position="TopAndBottom" />
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblObjectID" Text="<% $PayrollResources:Admin.CaseProfileStudy.ObjectID.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.ObjectID.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td rowspan="2">

            <uc1:ToolTipLabelControl runat="server" ID="lblOriginalCopy" Text="<% $PayrollResources:Admin.CaseProfileStudy.OriginalCopy.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.OriginalCopy.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td rowspan="2">
            <uc1:ToolTipLabelControl runat="server" ID="lblNotOriginalCopy" Text="<% $PayrollResources:Admin.CaseProfileStudy.NotOriginalCopy.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.NotOriginalCopy.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
            <td>
                <uc1:ToolTipLabelControl runat="server" ID="lblOnRequest" Text="<% $PayrollResources:Admin.CaseProfileStudy.OnRequest.Text %>"
                    ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.OnRequest.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
            </td>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblDateSubmitted" Text="<% $PayrollResources:Admin.CaseProfileStudy.DateSubmitted.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.DateSubmitted.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td>
            <uc1:ToolTipLabelControl runat="server" ID="lblNote" Text="<% $PayrollResources:Admin.CaseProfileStudy.Note.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.Note.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
    </tr>
    <tr>
        <td rowspan="2">
            <asp:DropDownList ID="ddlObjectID" runat="server" Width="100%">
            </asp:DropDownList>
        </td>
        <td rowspan="2">
            <uc3:DatePicker ID="dpOnRequest" runat="server" />
        </td>
        <td rowspan="2">
            <uc3:DatePicker ID="dp1DateSubmitted" runat="server" />
        </td>
        <td rowspan="2">
            <asp:TextBox ID="txtNote" runat="server" Height="62px" TextMode="MultiLine" Width="99%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: center">
            <asp:CheckBox ID="cbOriginalCopy" runat="server" />
        </td>
        <td style="text-align: center">
            <asp:CheckBox ID="cbNotOriginalCopy" runat="server" />
        </td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td colspan="2" style="text-align: right">
            <asp:Button ID="btnAdd" runat="server" CssClass="adminButtonBlue" OnClick="btnAdd_Click" Text="<% $PayrollResources:Admin.CaseProfileStudy.Add.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfileStudy.Add.Tooltip %>" CausesValidation="False" />
        </td>
    </tr>
</table>








